<?php 
	$filename=$_GET['filename'];
	header('Content-disposition:attachment;filename='.basename($filename));  //以附件的形式处理，顺便处理文件名
	header('Content-length:'.filesize($filename));
	readfile($filename);